auto merge of #506 : alexcrichton/cargo/sooner-lockfile, r=wycats
authorbors <bors@rust-lang.org>
Wed, 3 Sep 2014 15:28:57 +0000 (15:28 +0000)
committerbors <bors@rust-lang.org>
Wed, 3 Sep 2014 15:28:57 +0000 (15:28 +0000)
It's quite annoying if you update a dependency, but it takes you awhile to get
the dependency building. Previously the dependency graph would have to be
updated each time because the lockfile was only written *after* a successful
build.

Other tools like `cargo generate-lockfile` will already generate a lockfile at
any time, so just make it easier by moving it up in the compilation process.


Trivial merge